package com.cu.employmentmanagementsystem.dto;

import com.cu.employmentmanagementsystem.entity.RecruitInformation;
import com.cu.employmentmanagementsystem.entity.StudentRecruitment;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author CaptainUniverse_
 * @date 2024/7/4
 */
@Data
public class StudentRecruitmentDTO
{
    /**
     * 主键
     */
    private Long id;
    /**
     * 公司名字
     */
    String companyName;
    /**
     * 招聘信息
     */
    RecruitInformation recruitInformation;
    /**
     * 投递时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deliveryTime;
    /**
     * -1:等待中；0:失败；1:成功
     */
    private Integer deliveryStatus;
}
